package com.h2wallet.newsapi.modular.news.service;


import com.h2wallet.newsapi.modular.basic.service.EntityService;
import com.h2wallet.newsapi.modular.news.vo.Article;

import java.util.List;

public interface ArticleService extends EntityService<Article, Integer> {


    List<Article> findAllByTypeId(int id, int page, int size);

    int countByTypeId(int id);
}
